
    <div #mySidenav class="sidenav">
      <a href="javascript:" class="closebtn" (click)="closeNav()">&times;</a>
      <a href="javascript:">关于</a>
      <a href="javascript:">服务</a>
      <a href="javascript:">联系</a>
      <a href="javascript:">我的</a>
    </div>
     
    <div>
      <span style="font-size:30px;cursor:pointer" (click)="openNav()">&#9776; 打开</span>
      <span [ngClass]="{'close':flag}" (click)="closeNav()" style="font-size:30px;cursor:pointer;margin-left: 20px;">关闭 &times;</span>
    </div>


